package com.itcoon.cloud.framework.ex.errorcode;


import com.itcoon.cloud.framework.enums.IModule;
import com.itcoon.cloud.framework.ex.exception.BaseServiceException;

public interface IModuleServiceErrorCode<EX extends BaseServiceException> extends IServiceErrorCode<EX>{

    IModule getModule();

    @Override
    default String getCode(){
        return getModule().getCode() + getServiceCode();
    }
}
